import os
import unittest

path=os.path.dirname(__file__)
print(path)
dir_path=path+'\..\TestCases'
loader = unittest.TestLoader()
suiteC = loader.discover(dir_path, pattern='*test*.py')


if __name__ == '__main__':
    runner = unittest.TextTestRunner()
    runner.run(suiteC)